@media (max-width: 767px) {
    .main-content {
        top: 50px;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 980;
        overflow: auto;
    }
}